\section{TiXmlBase Class Reference}
\label{classTiXmlBase}\index{TiXmlBase@{TiXmlBase}}
{\tt \#include $<$tinyxml.h$>$}

Inheritance diagram for TiXmlBase::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.41379cm]{classTiXmlBase}
\end{center}
\end{figure}


\subsection{Detailed Description}
\doxyref{TiXmlBase}{p.}{classTiXmlBase} is a base class for every class in TinyXml. It does little except to establish that TinyXml classes can be printed and provide some utility functions.

In XML, the document and elements can contain other elements and other types of nodes.



\footnotesize\begin{verbatim}
	A Document can contain:	Element	(container or leaf)
							Comment (leaf)
							Unknown (leaf)
							Declaration( leaf )

	An Element can contain:	Element (container or leaf)
							Text	(leaf)
							Attributes (not on tree)
							Comment (leaf)
							Unknown (leaf)

	A Decleration contains: Attributes (not on tree)
	\end{verbatim}
\normalsize
 \subsection*{Public Types}
\begin{CompactItemize}
\item 
enum \{ \par
{\bf TIXML\_\-NO\_\-ERROR} =  0, 
{\bf TIXML\_\-ERROR}, 
{\bf TIXML\_\-ERROR\_\-OPENING\_\-FILE}, 
{\bf TIXML\_\-ERROR\_\-OUT\_\-OF\_\-MEMORY}, 
\par
{\bf TIXML\_\-ERROR\_\-PARSING\_\-ELEMENT}, 
{\bf TIXML\_\-ERROR\_\-FAILED\_\-TO\_\-READ\_\-ELEMENT\_\-NAME}, 
{\bf TIXML\_\-ERROR\_\-READING\_\-ELEMENT\_\-VALUE}, 
{\bf TIXML\_\-ERROR\_\-READING\_\-ATTRIBUTES}, 
\par
{\bf TIXML\_\-ERROR\_\-PARSING\_\-EMPTY}, 
{\bf TIXML\_\-ERROR\_\-READING\_\-END\_\-TAG}, 
{\bf TIXML\_\-ERROR\_\-PARSING\_\-UNKNOWN}, 
{\bf TIXML\_\-ERROR\_\-PARSING\_\-COMMENT}, 
\par
{\bf TIXML\_\-ERROR\_\-PARSING\_\-DECLARATION}, 
{\bf TIXML\_\-ERROR\_\-DOCUMENT\_\-EMPTY}, 
{\bf TIXML\_\-ERROR\_\-EMBEDDED\_\-NULL}, 
{\bf TIXML\_\-ERROR\_\-PARSING\_\-CDATA}, 
\par
{\bf TIXML\_\-ERROR\_\-DOCUMENT\_\-TOP\_\-ONLY}, 
{\bf TIXML\_\-ERROR\_\-STRING\_\-COUNT}
 \}
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf TiXmlBase} ()
\item 
virtual {\bf $\sim$TiXmlBase} ()
\item 
virtual void {\bf Print} (FILE $\ast$cfile, int depth) const =0
\item 
int {\bf Row} () const 
\item 
int {\bf Column} () const 
\begin{CompactList}\small\item\em See \doxyref{Row()}{p.}{classTiXmlBase_024bceb070188df92c2a8d8852dd0853}. \item\end{CompactList}\item 
void {\bf SetUserData} (void $\ast$user)
\begin{CompactList}\small\item\em Set a pointer to arbitrary user data. \item\end{CompactList}\item 
void $\ast$ {\bf GetUserData} ()
\begin{CompactList}\small\item\em Get a pointer to arbitrary user data. \item\end{CompactList}\item 
const void $\ast$ {\bf GetUserData} () const 
\begin{CompactList}\small\item\em Get a pointer to arbitrary user data. \item\end{CompactList}\item 
virtual const char $\ast$ {\bf Parse} (const char $\ast$p, {\bf TiXmlParsingData} $\ast$data, {\bf TiXmlEncoding} encoding)=0
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static void {\bf SetCondenseWhiteSpace} (bool condense)
\item 
static bool {\bf IsWhiteSpaceCondensed} ()
\begin{CompactList}\small\item\em Return the current white space setting. \item\end{CompactList}\item 
static void {\bf EncodeString} (const TIXML\_\-STRING \&str, TIXML\_\-STRING $\ast$out)
\end{CompactItemize}
\subsection*{Static Public Attributes}
\begin{CompactItemize}
\item 
static const int {\bf utf8ByteTable} [256]
\end{CompactItemize}
\subsection*{Static Protected Member Functions}
\begin{CompactItemize}
\item 
static const char $\ast$ {\bf SkipWhiteSpace} (const char $\ast$, {\bf TiXmlEncoding} encoding)
\item 
static bool {\bf IsWhiteSpace} (char c)
\item 
static bool {\bf IsWhiteSpace} (int c)
\item 
static const char $\ast$ {\bf ReadName} (const char $\ast$p, TIXML\_\-STRING $\ast$name, {\bf TiXmlEncoding} encoding)
\item 
static const char $\ast$ {\bf ReadText} (const char $\ast$in, TIXML\_\-STRING $\ast$text, bool ignoreWhiteSpace, const char $\ast$endTag, bool ignoreCase, {\bf TiXmlEncoding} encoding)
\item 
static const char $\ast$ {\bf GetEntity} (const char $\ast$in, char $\ast$value, int $\ast$length, {\bf TiXmlEncoding} encoding)
\item 
static const char $\ast$ {\bf GetChar} (const char $\ast$p, char $\ast$\_\-value, int $\ast$length, {\bf TiXmlEncoding} encoding)
\item 
static bool {\bf StringEqual} (const char $\ast$p, const char $\ast$endTag, bool ignoreCase, {\bf TiXmlEncoding} encoding)
\item 
static int {\bf IsAlpha} (unsigned char anyByte, {\bf TiXmlEncoding} encoding)
\item 
static int {\bf IsAlphaNum} (unsigned char anyByte, {\bf TiXmlEncoding} encoding)
\item 
static int {\bf ToLower} (int v, {\bf TiXmlEncoding} encoding)
\item 
static void {\bf ConvertUTF32ToUTF8} (unsigned long input, char $\ast$output, int $\ast$length)
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
{\bf TiXmlCursor} {\bf location}
\item 
void $\ast$ {\bf userData}
\begin{CompactList}\small\item\em Field containing a generic user pointer. \item\end{CompactList}\end{CompactItemize}
\subsection*{Static Protected Attributes}
\begin{CompactItemize}
\item 
static const char $\ast$ {\bf errorString} [TIXML\_\-ERROR\_\-STRING\_\-COUNT]
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf TiXmlNode}
\item 
class {\bf TiXmlElement}
\item 
class {\bf TiXmlDocument}
\end{CompactItemize}
\subsection*{Classes}
\begin{CompactItemize}
\item 
struct \textbf{Entity}
\end{CompactItemize}


\subsection{Member Enumeration Documentation}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}anonymous enum}\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd48}


\begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{TIXML\_\-NO\_\-ERROR@{TIXML\_\-NO\_\-ERROR}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-NO\_\-ERROR@{TIXML\_\-NO\_\-ERROR}}\item[{\em 
TIXML\_\-NO\_\-ERROR\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd48750a76ca602241c416d5ec357d55fba1}
}]\index{TIXML\_\-ERROR@{TIXML\_\-ERROR}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR@{TIXML\_\-ERROR}}\item[{\em 
TIXML\_\-ERROR\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd48bcabc1b8efabeda1cc4352aa73d64390}
}]\index{TIXML\_\-ERROR\_\-OPENING\_\-FILE@{TIXML\_\-ERROR\_\-OPENING\_\-FILE}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-OPENING\_\-FILE@{TIXML\_\-ERROR\_\-OPENING\_\-FILE}}\item[{\em 
TIXML\_\-ERROR\_\-OPENING\_\-FILE\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd48b803949b8f12e03b5b57f86d9c52b614}
}]\index{TIXML\_\-ERROR\_\-OUT\_\-OF\_\-MEMORY@{TIXML\_\-ERROR\_\-OUT\_\-OF\_\-MEMORY}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-OUT\_\-OF\_\-MEMORY@{TIXML\_\-ERROR\_\-OUT\_\-OF\_\-MEMORY}}\item[{\em 
TIXML\_\-ERROR\_\-OUT\_\-OF\_\-MEMORY\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd4892e3bfc96126d3544f47e8b3f031e7bb}
}]\index{TIXML\_\-ERROR\_\-PARSING\_\-ELEMENT@{TIXML\_\-ERROR\_\-PARSING\_\-ELEMENT}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-PARSING\_\-ELEMENT@{TIXML\_\-ERROR\_\-PARSING\_\-ELEMENT}}\item[{\em 
TIXML\_\-ERROR\_\-PARSING\_\-ELEMENT\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd485cbfcf7fe5e67f0cd1aef98deac55dd2}
}]\index{TIXML\_\-ERROR\_\-FAILED\_\-TO\_\-READ\_\-ELEMENT\_\-NAME@{TIXML\_\-ERROR\_\-FAILED\_\-TO\_\-READ\_\-ELEMENT\_\-NAME}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-FAILED\_\-TO\_\-READ\_\-ELEMENT\_\-NAME@{TIXML\_\-ERROR\_\-FAILED\_\-TO\_\-READ\_\-ELEMENT\_\-NAME}}\item[{\em 
TIXML\_\-ERROR\_\-FAILED\_\-TO\_\-READ\_\-ELEMENT\_\-NAME\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd48dcc31ca78a9d507a88c9fafb3d18a3c4}
}]\index{TIXML\_\-ERROR\_\-READING\_\-ELEMENT\_\-VALUE@{TIXML\_\-ERROR\_\-READING\_\-ELEMENT\_\-VALUE}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-READING\_\-ELEMENT\_\-VALUE@{TIXML\_\-ERROR\_\-READING\_\-ELEMENT\_\-VALUE}}\item[{\em 
TIXML\_\-ERROR\_\-READING\_\-ELEMENT\_\-VALUE\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd48fefdc75db23215e846605a2b5af0c2d3}
}]\index{TIXML\_\-ERROR\_\-READING\_\-ATTRIBUTES@{TIXML\_\-ERROR\_\-READING\_\-ATTRIBUTES}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-READING\_\-ATTRIBUTES@{TIXML\_\-ERROR\_\-READING\_\-ATTRIBUTES}}\item[{\em 
TIXML\_\-ERROR\_\-READING\_\-ATTRIBUTES\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd48670fac23171b64829f90639cc3696d6e}
}]\index{TIXML\_\-ERROR\_\-PARSING\_\-EMPTY@{TIXML\_\-ERROR\_\-PARSING\_\-EMPTY}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-PARSING\_\-EMPTY@{TIXML\_\-ERROR\_\-PARSING\_\-EMPTY}}\item[{\em 
TIXML\_\-ERROR\_\-PARSING\_\-EMPTY\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd485f2aee664733a20f13f6f77556b9fa85}
}]\index{TIXML\_\-ERROR\_\-READING\_\-END\_\-TAG@{TIXML\_\-ERROR\_\-READING\_\-END\_\-TAG}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-READING\_\-END\_\-TAG@{TIXML\_\-ERROR\_\-READING\_\-END\_\-TAG}}\item[{\em 
TIXML\_\-ERROR\_\-READING\_\-END\_\-TAG\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd48175f7c72e2f9630bb96ef5137b325502}
}]\index{TIXML\_\-ERROR\_\-PARSING\_\-UNKNOWN@{TIXML\_\-ERROR\_\-PARSING\_\-UNKNOWN}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-PARSING\_\-UNKNOWN@{TIXML\_\-ERROR\_\-PARSING\_\-UNKNOWN}}\item[{\em 
TIXML\_\-ERROR\_\-PARSING\_\-UNKNOWN\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd4824c814fdcf1d84704869e6f76b19cb6e}
}]\index{TIXML\_\-ERROR\_\-PARSING\_\-COMMENT@{TIXML\_\-ERROR\_\-PARSING\_\-COMMENT}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-PARSING\_\-COMMENT@{TIXML\_\-ERROR\_\-PARSING\_\-COMMENT}}\item[{\em 
TIXML\_\-ERROR\_\-PARSING\_\-COMMENT\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd4872e3072a44be499edb89593f6ce10f6c}
}]\index{TIXML\_\-ERROR\_\-PARSING\_\-DECLARATION@{TIXML\_\-ERROR\_\-PARSING\_\-DECLARATION}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-PARSING\_\-DECLARATION@{TIXML\_\-ERROR\_\-PARSING\_\-DECLARATION}}\item[{\em 
TIXML\_\-ERROR\_\-PARSING\_\-DECLARATION\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd484c200f9d125027ab449e2be7be471ba0}
}]\index{TIXML\_\-ERROR\_\-DOCUMENT\_\-EMPTY@{TIXML\_\-ERROR\_\-DOCUMENT\_\-EMPTY}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-DOCUMENT\_\-EMPTY@{TIXML\_\-ERROR\_\-DOCUMENT\_\-EMPTY}}\item[{\em 
TIXML\_\-ERROR\_\-DOCUMENT\_\-EMPTY\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd48b345f3e42e6ae9cdedee2b95e4d461b9}
}]\index{TIXML\_\-ERROR\_\-EMBEDDED\_\-NULL@{TIXML\_\-ERROR\_\-EMBEDDED\_\-NULL}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-EMBEDDED\_\-NULL@{TIXML\_\-ERROR\_\-EMBEDDED\_\-NULL}}\item[{\em 
TIXML\_\-ERROR\_\-EMBEDDED\_\-NULL\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd48de7edbad3a94a6c161cac2638f380e17}
}]\index{TIXML\_\-ERROR\_\-PARSING\_\-CDATA@{TIXML\_\-ERROR\_\-PARSING\_\-CDATA}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-PARSING\_\-CDATA@{TIXML\_\-ERROR\_\-PARSING\_\-CDATA}}\item[{\em 
TIXML\_\-ERROR\_\-PARSING\_\-CDATA\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd48ab2c858631b5d38eae1e6675949b9cd4}
}]\index{TIXML\_\-ERROR\_\-DOCUMENT\_\-TOP\_\-ONLY@{TIXML\_\-ERROR\_\-DOCUMENT\_\-TOP\_\-ONLY}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-DOCUMENT\_\-TOP\_\-ONLY@{TIXML\_\-ERROR\_\-DOCUMENT\_\-TOP\_\-ONLY}}\item[{\em 
TIXML\_\-ERROR\_\-DOCUMENT\_\-TOP\_\-ONLY\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd48679b15d950f29257700a724bb118c34d}
}]\index{TIXML\_\-ERROR\_\-STRING\_\-COUNT@{TIXML\_\-ERROR\_\-STRING\_\-COUNT}!TiXmlBase@{TiXmlBase}}\index{TiXmlBase@{TiXmlBase}!TIXML\_\-ERROR\_\-STRING\_\-COUNT@{TIXML\_\-ERROR\_\-STRING\_\-COUNT}}\item[{\em 
TIXML\_\-ERROR\_\-STRING\_\-COUNT\label{classTiXmlBase_9a7e9344415956ab96e8c75f6a0bbd4814552894942250efcec6b00dc52fc48a}
}]\end{description}
\end{Desc}



\subsection{Constructor \& Destructor Documentation}
\index{TiXmlBase@{TiXmlBase}!TiXmlBase@{TiXmlBase}}
\index{TiXmlBase@{TiXmlBase}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TiXmlBase::TiXmlBase ()\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlBase_c6753fe8a2c89669038fcf281cb301bf}


\index{TiXmlBase@{TiXmlBase}!$\sim$TiXmlBase@{$\sim$TiXmlBase}}
\index{$\sim$TiXmlBase@{$\sim$TiXmlBase}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual TiXmlBase::$\sim$TiXmlBase ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlBase_d1837ecb25a913612fa1115f090cbb56}




\subsection{Member Function Documentation}
\index{TiXmlBase@{TiXmlBase}!Print@{Print}}
\index{Print@{Print}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void TiXmlBase::Print (FILE $\ast$ {\em cfile}, int {\em depth}) const\hspace{0.3cm}{\tt  [pure virtual]}}\label{classTiXmlBase_0de56b3f2ef14c65091a3b916437b512}


All TinyXml classes can print themselves to a filestream or the string class (\doxyref{TiXmlString}{p.}{classTiXmlString} in non-STL mode, std::string in STL mode.) Either or both cfile and str can be null.

This is a formatted print, and will insert tabs and newlines.

(For an unformatted stream, use the $<$$<$ operator.) 

Implemented in {\bf TiXmlAttribute} \doxyref{}{p.}{classTiXmlAttribute_cc04956c1d5c4c31fe74f7a7528d109a}, {\bf TiXmlElement} \doxyref{}{p.}{classTiXmlElement_d9d0c008866982ab8d9aafae7e14d692}, {\bf TiXmlComment} \doxyref{}{p.}{classTiXmlComment_17398061d62c470f57801ce28fa33ad4}, {\bf TiXmlText} \doxyref{}{p.}{classTiXmlText_e74d56c5b3ddec6cc3103dd51821af92}, {\bf TiXmlDeclaration} \doxyref{}{p.}{classTiXmlDeclaration_bf6303db4bd05b5be554036817ff1cb4}, {\bf TiXmlUnknown} \doxyref{}{p.}{classTiXmlUnknown_025f19c21ef01ea9be50febb8fe0ba06}, and {\bf TiXmlDocument} \doxyref{}{p.}{classTiXmlDocument_7b1aea204fee266b70b9c105c8bf2ada}.\index{TiXmlBase@{TiXmlBase}!SetCondenseWhiteSpace@{SetCondenseWhiteSpace}}
\index{SetCondenseWhiteSpace@{SetCondenseWhiteSpace}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void TiXmlBase::SetCondenseWhiteSpace (bool {\em condense})\hspace{0.3cm}{\tt  [inline, static]}}\label{classTiXmlBase_0f799ec645bfb8d8a969e83478f379c1}


The world does not agree on whether white space should be kept or not. In order to make everyone happy, these global, static functions are provided to set whether or not TinyXml will condense all white space into a single space or not. The default is to condense. Note changing this value is not thread safe. \index{TiXmlBase@{TiXmlBase}!IsWhiteSpaceCondensed@{IsWhiteSpaceCondensed}}
\index{IsWhiteSpaceCondensed@{IsWhiteSpaceCondensed}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static bool TiXmlBase::IsWhiteSpaceCondensed ()\hspace{0.3cm}{\tt  [inline, static]}}\label{classTiXmlBase_d4b1472531c647a25b1840a87ae42438}


Return the current white space setting. 

\index{TiXmlBase@{TiXmlBase}!Row@{Row}}
\index{Row@{Row}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int TiXmlBase::Row () const\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlBase_024bceb070188df92c2a8d8852dd0853}


Return the position, in the original source file, of this node or attribute. The row and column are 1-based. (That is the first row and first column is 1,1). If the returns values are 0 or less, then the parser does not have a row and column value.

Generally, the row and column value will be set when the TiXmlDocument::Load(), \doxyref{TiXmlDocument::LoadFile()}{p.}{classTiXmlDocument_4c852a889c02cf251117fd1d9fe1845f}, or any \doxyref{TiXmlNode::Parse()}{p.}{classTiXmlBase_00e4edb0219d00a1379c856e5a1d2025} is called. It will NOT be set when the DOM was created from operator$>$$>$.

The values reflect the initial load. Once the DOM is modified programmatically (by adding or changing nodes and attributes) the new values will NOT update to reflect changes in the document.

There is a minor performance cost to computing the row and column. Computation can be disabled if \doxyref{TiXmlDocument::SetTabSize()}{p.}{classTiXmlDocument_51dac56316f89b35bdb7d0d433ba988e} is called with 0 as the value.

\begin{Desc}
\item[See also:]\doxyref{TiXmlDocument::SetTabSize()}{p.}{classTiXmlDocument_51dac56316f89b35bdb7d0d433ba988e} \end{Desc}
\index{TiXmlBase@{TiXmlBase}!Column@{Column}}
\index{Column@{Column}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int TiXmlBase::Column () const\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlBase_b54bfb9b70fe6dd276e7b279cab7f003}


See \doxyref{Row()}{p.}{classTiXmlBase_024bceb070188df92c2a8d8852dd0853}. 

\index{TiXmlBase@{TiXmlBase}!SetUserData@{SetUserData}}
\index{SetUserData@{SetUserData}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TiXmlBase::SetUserData (void $\ast$ {\em user})\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlBase_c6b3e0f790930d4970ec30764e937b5d}


Set a pointer to arbitrary user data. 

\index{TiXmlBase@{TiXmlBase}!GetUserData@{GetUserData}}
\index{GetUserData@{GetUserData}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ TiXmlBase::GetUserData ()\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlBase_6559a530ca6763fc301a14d77ed28c17}


Get a pointer to arbitrary user data. 

\index{TiXmlBase@{TiXmlBase}!GetUserData@{GetUserData}}
\index{GetUserData@{GetUserData}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const void$\ast$ TiXmlBase::GetUserData () const\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlBase_d0120210e4680ef2088601753ce0ede4}


Get a pointer to arbitrary user data. 

\index{TiXmlBase@{TiXmlBase}!Parse@{Parse}}
\index{Parse@{Parse}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual const char$\ast$ TiXmlBase::Parse (const char $\ast$ {\em p}, {\bf TiXmlParsingData} $\ast$ {\em data}, {\bf TiXmlEncoding} {\em encoding})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classTiXmlBase_00e4edb0219d00a1379c856e5a1d2025}




Implemented in {\bf TiXmlAttribute} \doxyref{}{p.}{classTiXmlAttribute_d62774421b814894b995af3b5d231dda}, {\bf TiXmlElement} \doxyref{}{p.}{classTiXmlElement_f95c9165159fd9dfdcc5b894a3fcf85b}, {\bf TiXmlComment} \doxyref{}{p.}{classTiXmlComment_43bddc18ac057734b41d84653b71d3e0}, {\bf TiXmlText} \doxyref{}{p.}{classTiXmlText_8d2dcfa41fc73d3e62dacc2fcf633819}, {\bf TiXmlDeclaration} \doxyref{}{p.}{classTiXmlDeclaration_9839ea97ed687a2b7342fd7b0f04361b}, {\bf TiXmlUnknown} \doxyref{}{p.}{classTiXmlUnknown_a51c2694e4177b5f0b5429ee5a81b58d}, and {\bf TiXmlDocument} \doxyref{}{p.}{classTiXmlDocument_789ad2f06f93d52bdb5570b2f3670289}.\index{TiXmlBase@{TiXmlBase}!EncodeString@{EncodeString}}
\index{EncodeString@{EncodeString}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TiXmlBase::EncodeString (const TIXML\_\-STRING \& {\em str}, TIXML\_\-STRING $\ast$ {\em out})\hspace{0.3cm}{\tt  [static]}}\label{classTiXmlBase_32ed202562b58de64c7d799ca3c9db98}


Expands entities in a string. Note this should not contian the tag's '$<$', '$>$', etc, or they will be transformed into entities! \index{TiXmlBase@{TiXmlBase}!SkipWhiteSpace@{SkipWhiteSpace}}
\index{SkipWhiteSpace@{SkipWhiteSpace}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ TiXmlBase::SkipWhiteSpace (const char $\ast$ {\em p}, {\bf TiXmlEncoding} {\em encoding})\hspace{0.3cm}{\tt  [static, protected]}}\label{classTiXmlBase_c0c3d66d8a9e6996a1fa016275e16875}


\index{TiXmlBase@{TiXmlBase}!IsWhiteSpace@{IsWhiteSpace}}
\index{IsWhiteSpace@{IsWhiteSpace}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static bool TiXmlBase::IsWhiteSpace (char {\em c})\hspace{0.3cm}{\tt  [inline, static, protected]}}\label{classTiXmlBase_f56296d561c0bab4bc8e198cdcf5c48e}


\index{TiXmlBase@{TiXmlBase}!IsWhiteSpace@{IsWhiteSpace}}
\index{IsWhiteSpace@{IsWhiteSpace}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static bool TiXmlBase::IsWhiteSpace (int {\em c})\hspace{0.3cm}{\tt  [inline, static, protected]}}\label{classTiXmlBase_3de391ea9f4c4a8aa10d04480b048795}


\index{TiXmlBase@{TiXmlBase}!ReadName@{ReadName}}
\index{ReadName@{ReadName}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ TiXmlBase::ReadName (const char $\ast$ {\em p}, TIXML\_\-STRING $\ast$ {\em name}, {\bf TiXmlEncoding} {\em encoding})\hspace{0.3cm}{\tt  [static, protected]}}\label{classTiXmlBase_1c21a6ab5f7b503acd91f35f183734b3}


\index{TiXmlBase@{TiXmlBase}!ReadText@{ReadText}}
\index{ReadText@{ReadText}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ TiXmlBase::ReadText (const char $\ast$ {\em in}, TIXML\_\-STRING $\ast$ {\em text}, bool {\em ignoreWhiteSpace}, const char $\ast$ {\em endTag}, bool {\em ignoreCase}, {\bf TiXmlEncoding} {\em encoding})\hspace{0.3cm}{\tt  [static, protected]}}\label{classTiXmlBase_a646c74921aa33156968b802bbf5566e}


\index{TiXmlBase@{TiXmlBase}!GetEntity@{GetEntity}}
\index{GetEntity@{GetEntity}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ TiXmlBase::GetEntity (const char $\ast$ {\em in}, char $\ast$ {\em value}, int $\ast$ {\em length}, {\bf TiXmlEncoding} {\em encoding})\hspace{0.3cm}{\tt  [static, protected]}}\label{classTiXmlBase_c5c08bf3deffcda0bf8ce2958372b584}


\index{TiXmlBase@{TiXmlBase}!GetChar@{GetChar}}
\index{GetChar@{GetChar}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static const char$\ast$ TiXmlBase::GetChar (const char $\ast$ {\em p}, char $\ast$ {\em \_\-value}, int $\ast$ {\em length}, {\bf TiXmlEncoding} {\em encoding})\hspace{0.3cm}{\tt  [inline, static, protected]}}\label{classTiXmlBase_5b0fde72d6f662ae1fd6303195d2159b}


\index{TiXmlBase@{TiXmlBase}!StringEqual@{StringEqual}}
\index{StringEqual@{StringEqual}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool TiXmlBase::StringEqual (const char $\ast$ {\em p}, const char $\ast$ {\em endTag}, bool {\em ignoreCase}, {\bf TiXmlEncoding} {\em encoding})\hspace{0.3cm}{\tt  [static, protected]}}\label{classTiXmlBase_51631e6986179558b9e5850723ed165a}


\index{TiXmlBase@{TiXmlBase}!IsAlpha@{IsAlpha}}
\index{IsAlpha@{IsAlpha}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int TiXmlBase::IsAlpha (unsigned char {\em anyByte}, {\bf TiXmlEncoding} {\em encoding})\hspace{0.3cm}{\tt  [static, protected]}}\label{classTiXmlBase_e22522b2e8e1ac43102d16394f639fc8}


\index{TiXmlBase@{TiXmlBase}!IsAlphaNum@{IsAlphaNum}}
\index{IsAlphaNum@{IsAlphaNum}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int TiXmlBase::IsAlphaNum (unsigned char {\em anyByte}, {\bf TiXmlEncoding} {\em encoding})\hspace{0.3cm}{\tt  [static, protected]}}\label{classTiXmlBase_321919055c115c78ded17f85a793f368}


\index{TiXmlBase@{TiXmlBase}!ToLower@{ToLower}}
\index{ToLower@{ToLower}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int TiXmlBase::ToLower (int {\em v}, {\bf TiXmlEncoding} {\em encoding})\hspace{0.3cm}{\tt  [inline, static, protected]}}\label{classTiXmlBase_799f17405a86a5c2029618e85f11a097}


\index{TiXmlBase@{TiXmlBase}!ConvertUTF32ToUTF8@{ConvertUTF32ToUTF8}}
\index{ConvertUTF32ToUTF8@{ConvertUTF32ToUTF8}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TiXmlBase::ConvertUTF32ToUTF8 (unsigned long {\em input}, char $\ast$ {\em output}, int $\ast$ {\em length})\hspace{0.3cm}{\tt  [static, protected]}}\label{classTiXmlBase_07c765e3a7f979d343e646ea797b180b}




\subsection{Friends And Related Function Documentation}
\index{TiXmlBase@{TiXmlBase}!TiXmlNode@{TiXmlNode}}
\index{TiXmlNode@{TiXmlNode}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf TiXmlNode}\hspace{0.3cm}{\tt  [friend]}}\label{classTiXmlBase_218872a0d985ae30e78c55adc4bdb196}


\index{TiXmlBase@{TiXmlBase}!TiXmlElement@{TiXmlElement}}
\index{TiXmlElement@{TiXmlElement}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf TiXmlElement}\hspace{0.3cm}{\tt  [friend]}}\label{classTiXmlBase_b6592e32cb9132be517cc12a70564c4b}




Reimplemented in {\bf TiXmlNode} \doxyref{}{p.}{classTiXmlNode_b6592e32cb9132be517cc12a70564c4b}, and {\bf TiXmlText} \doxyref{}{p.}{classTiXmlText_b6592e32cb9132be517cc12a70564c4b}.\index{TiXmlBase@{TiXmlBase}!TiXmlDocument@{TiXmlDocument}}
\index{TiXmlDocument@{TiXmlDocument}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf TiXmlDocument}\hspace{0.3cm}{\tt  [friend]}}\label{classTiXmlBase_173617f6dfe902cf484ce5552b950475}




Reimplemented in {\bf TiXmlNode} \doxyref{}{p.}{classTiXmlNode_173617f6dfe902cf484ce5552b950475}.

\subsection{Member Data Documentation}
\index{TiXmlBase@{TiXmlBase}!utf8ByteTable@{utf8ByteTable}}
\index{utf8ByteTable@{utf8ByteTable}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf TiXmlBase::utf8ByteTable}\hspace{0.3cm}{\tt  [static]}}\label{classTiXmlBase_c8c86058137bdb4b413c3eca58f2d467}


\textbf{Initial value:}

\begin{Code}\begin{verbatim} 
{
        
                1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      
                1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      
                1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      
                1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      
                1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      
                1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      
                1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      
                1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      
                1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      
                1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      
                1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      
                1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      
                1,      1,      2,      2,      2,      2,      2,      2,      2,      2,      2,      2,      2,      2,      2,      2,      
                2,      2,      2,      2,      2,      2,      2,      2,      2,      2,      2,      2,      2,      2,      2,      2,      
                3,      3,      3,      3,      3,      3,      3,      3,      3,      3,      3,      3,      3,      3,      3,      3,      
                4,      4,      4,      4,      4,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1,      1       
}
\end{verbatim}
\end{Code}
\index{TiXmlBase@{TiXmlBase}!errorString@{errorString}}
\index{errorString@{errorString}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ {\bf TiXmlBase::errorString}\hspace{0.3cm}{\tt  [static, protected]}}\label{classTiXmlBase_7ac8feec4100e446b3d78e1ac0659700}


\textbf{Initial value:}

\begin{Code}\begin{verbatim}
{
        "No error",
        "Error",
        "Failed to open file",
        "Memory allocation failed.",
        "Error parsing Element.",
        "Failed to read Element name",
        "Error reading Element value.",
        "Error reading Attributes.",
        "Error: empty tag.",
        "Error reading end tag.",
        "Error parsing Unknown.",
        "Error parsing Comment.",
        "Error parsing Declaration.",
        "Error document empty.",
        "Error null (0) or unexpected EOF found in input stream.",
        "Error parsing CDATA.",
        "Error when TiXmlDocument added to document, because TiXmlDocument can only be at the root.",
}
\end{verbatim}
\end{Code}
\index{TiXmlBase@{TiXmlBase}!location@{location}}
\index{location@{location}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlCursor} {\bf TiXmlBase::location}\hspace{0.3cm}{\tt  [protected]}}\label{classTiXmlBase_0d992580f3bc264909f898e942677a3c}


\index{TiXmlBase@{TiXmlBase}!userData@{userData}}
\index{userData@{userData}!TiXmlBase@{TiXmlBase}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf TiXmlBase::userData}\hspace{0.3cm}{\tt  [protected]}}\label{classTiXmlBase_b242c01590191f644569fa89a080d97c}


Field containing a generic user pointer. 



The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
/home/msneddon/eclipse/ganymede\_\-cpp/workspace/NFsim\_\-svn/src/NFinput/TinyXML/{\bf tinyxml.h}\item 
/home/msneddon/eclipse/ganymede\_\-cpp/workspace/NFsim\_\-svn/src/NFinput/TinyXML/{\bf tinyxml.cpp}\item 
/home/msneddon/eclipse/ganymede\_\-cpp/workspace/NFsim\_\-svn/src/NFinput/TinyXML/{\bf tinyxmlerror.cpp}\item 
/home/msneddon/eclipse/ganymede\_\-cpp/workspace/NFsim\_\-svn/src/NFinput/TinyXML/{\bf tinyxmlparser.cpp}\end{CompactItemize}
